local class = require "util.class"
local base = class()

function base:run(cmd, ...)
	local func = self[cmd]
	if func then
		return func(self, ...)
	end
end

return base